263a0adf79105b9dc166e21c3f5159ade6e2d0a7,hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java,BucketCache,forceEvict,#BlockCacheKey#,473
Before Change
}
IdLock.Entry lockEntry = null;
try {
lockEntry = offsetLock.getLockEntry(bucketEntry.offset());
if (backingMap.remove(cacheKey, bucketEntry)) {
blockEvicted(cacheKey, bucketEntry, removedBlock == null);
} else {
After Change
return false;
}
}
ReentrantReadWriteLock lock = offsetLock.getLock(bucketEntry.offset());
try {
lock.writeLock().lock();
if (backingMap.remove(cacheKey, bucketEntry)) {
blockEvicted(cacheKey, bucketEntry, removedBlock == null);
} else {